.purchase-item.card {
	&.is-expired {
		.purchase-item__plan-icon,
		.purchase-item__title,
		.purchase-item__purchase-type {
			opacity: 0.7;
		}
	}

	&.is-included-with-plan {
		// TODO
	}

	.purchase-item__wrapper {
		display: flex;
	}

	.purchase-item__details,
	.purchase-item__plan-icon {
		flex: 1;
	}
}

.purchase-item.is-placeholder {
	padding: 16px 24px;

	.purchase-item__plan-icon,
	.purchase-item__title,
	.purchase-item__purchase-date,
	.purchase-item__purchase-type {
		@include placeholder( --color-neutral-10 );
	}

	.purchase-item__plan-icon {
		height: 32px;
		border-radius: 50%;
	}

	.purchase-item__purchase-date {
		width: 40%;
	}

	.purchase-item__purchase-type {
		width: 30%;
	}

	.purchase-item__title {
		width: 60%;
	}
}

.purchase-item__plan-icon {
	margin: 0 8px 0 0;
	max-width: 32px;
	width: 32px;

	.gridicon {
		padding: 4px;
		background: var( --color-neutral );
		fill: var( --color-text-inverted );
	}

	.gridicons-domains {
		border-radius: 50%;
	}

	.gridicons-themes {
		border-radius: 4px;
	}
}

.purchase-item__term-label,
.purchase-item__purchase-date,
.purchase-item__purchase-type {
	line-height: 14px;
	margin-top: 2px;
}

.purchase-item__title {
	color: var( --color-text );
	display: block;
	font-size: 14px;
	line-height: 1.2em;
	margin: 4px 20px 4px 0;
	overflow: hidden;
	position: relative;
	white-space: nowrap;

	&::after:not( .is-placeholder ) {
		@include long-content-fade();
	}

	@include breakpoint( '>480px' ) {
		font-size: 18px;
		max-width: none;
	}
}

.purchase-item__term-label,
.purchase-item__purchase-type, {
	color: var( --color-text-subtle );
	font-size: 12px;
	margin: 0 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.purchase-item__purchase-date {
	color: var( --color-neutral-70 );
	font-size: 12px;
}
